package com.mdc.mansion.dataaccess.modules.basedata.dao;

import com.mdc.mansion.dataaccess.common.persistence.CrudDao;
import com.mdc.mansion.dataaccess.common.persistence.annotation.MyBatisDao;
import com.mdc.mansion.dataaccess.modules.basedata.entity.PushMessage;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 消息推送dao接口
 * @author mingdongc
 * @version 2018-01-21
 */
@MyBatisDao
public interface PushMessageDao extends CrudDao<PushMessage>{

    List<PushMessage> getCanSendMessage();

    void deleteLastDaySuccessMessage(@Param("lastDay") Date lastDay);
}
